@import url("https://fonts.googleapis.com/css2?family=Mulish&display=swap");

#cgpa-container {
  width: 50%;
  box-shadow: 0px 32px 40px 12px rgba(0, 0, 0, 0.08);
  margin-bottom: 50px;
}

#cgpa-calc {
  font-size: 24px;
}

#CGC-container {
  border: 1px solid rgba(33, 37, 33, 0.24);
}

#course {
  padding-top: 12px;
  padding-bottom: 12px;
  padding-left: 12px;
  color: rgba(33, 37, 33, 0.5);
  border-right: 1px solid rgba(33, 37, 33, 0.24);
}

#grade-credits {
  display: flex;
  /* flex: 1; */
  width: 100%;
  flex-direction: row;
}

#grade-container {
  padding-left: 10px;
  padding-right: 10px;
  border-right: 1px solid rgba(33, 37, 33, 0.24);
  color: rgba(33, 37, 33, 0.5);
  position: relative;
  /* height: 48px; */
}

#icon-btn {
  padding-right: 2px;
}

#grade-header {
  border-bottom: 1px solid rgba(33, 37, 33, 0.08);
  width: 100%;
}

#grade-option {
  border-bottom: 1px solid rgba(33, 37, 33, 0.08);
  width: 100%;
}

#credits-header {
  border-bottom: 1px solid rgba(33, 37, 33, 0.08);
  width: 100%;
}

#credits-option {
  border-bottom: 1px solid rgba(33, 37, 33, 0.08);
  width: 100%;
}

#grade-option:hover {
  background: #138601;
  color: white;
}

#grade-option-select {
  display: flex;
  width: 180px;
  padding: 12px 0px 19px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border-radius: 20px;
  background: #fff;
  color: black;
  box-shadow: 0px 12px 20px 8px rgba(0, 0, 0, 0.08);
}

#credits-container {
  height: 48px;
  padding-left: 10px;
  padding-right: 10px;
  gap: 58px;
  color: rgba(33, 37, 33, 0.5);
}

#credits-option-select {
  border-radius: 20px;
  background: #fff;
  display: flex;
  width: 178px;
  padding: 12px 0px 21px 0px;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  box-shadow: 0px 12px 20px 8px rgba(0, 0, 0, 0.08);
}

#add-btn {
  padding: 14px 31px;
  margin-right: 80px;
  border-radius: 100px;
  border: 1px solid #138601;
  transition: 0.5s ease-in-out all;
}

#calc-btn {
  padding: 14px 82px 14px 78px;
  border-radius: 100px;
  align-items: center;
}

#credits-section {
  border: 1px solid rgba(33, 37, 33, 0.2);
  width: 350px;
  padding: 12px 0px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  color: rgba(33, 37, 33, 0.5);
}

#cgpa-section {
  display: flex;
  width: 350px;
  padding: 12px 0px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(33, 37, 33, 0.2);
  color: rgba(33, 37, 33, 0.5);
}

#credit-count {
  font-family: "Mulish", sans-serif;
}

#cgpa-count {
  font-family: "Mulish", sans-serif;
}

#grade {
  color: rgba(33, 37, 33, 0.5);
}

#grade-bar-container {
  width: 85%;
  height: 24px;
  border-radius: 100px;
  border: 1px solid rgba(33, 37, 33, 0.12);
  background: #fff;
}

#grade-bar {
  border-radius: 100px;
}

#grade-note {
  color: rgba(33, 37, 33, 0.8);
  font-weight: 700;
}

.new-course {
  width: 100%;
  margin: 24px auto;
  padding: 0 68px 0 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* overflow: hidden; */
}
@media (max-width: 1024px) {
  .new-course {
    flex-direction: column;
    justify-content: center;
    margin: 24px 0;
    padding: 0;
  }
  #add-btn {
    padding: 12px 28px;
    margin: 0 0 16px 0;
  }

  #calc-btn {
    padding: 12px 40px;
  }
  #CGC-container {
    margin: 0 4px;
  }
}

@media (max-width: 768px) {
  #cgpa-container {
    width: 85%;
    margin: auto auto 50px;
    /* overflow: hidden; */
  }

  #CGC-container {
    width: 80%;
    flex-direction: column;
    max-height: 400px;
    margin-right: 4px;
  }

  #course {
    font-size: 14px;
    text-align: center;
    flex: 1;
    padding: 8px 0;
    /* margin: 8px 0; */
    border: none;
    border-bottom: 1px solid rgba(33, 37, 33, 0.24);
  }

  #grade-container,
  #credits-container {
    text-align: center;
    padding: 4px 0 8px;
    /* margin: 8px 0; */
  }

  #drop-button {
    margin-top: -15px;
    left: 0;
    right: 0;
  }

  #remove-btn {
    padding: 4px;
  }

  .new-course {
    flex-direction: column;
    justify-content: center;
    margin: 24px 0;
    padding: 0;
  }

  #add-btn {
    padding: 12px 28px;
    margin: 0 0 16px 0;
  }

  #calc-btn {
    padding: 12px 40px;
  }

  #acad-stand {
    flex-direction: column;
    padding-left: 12px;
    padding-right: 12px;
  }

  #grade,
  #grade-note {
    text-align: center;
  }
}
